package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 线索池关联表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "leads_pool_relation")
public class LeadsPoolRelation implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 线索id
     */
    @TableField(value = "leads_id")
    private Integer leadsId;

    /**
     * 线索池id
     */
    @TableField(value = "pool_id")
    private Integer poolId;

    private static final long serialVersionUID = 1L;
}